<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>网络银行首页</title>

    <%@ include file="/page/head.jsp" %>
    <style>

        body {
            background-image: url("/static/img/b.gif");
            background-size: 1800px;
        }
        #aa{
            width: 900px;
            height: 240px;
            margin: 30px auto;
            border: 4px solid darkolivegreen;
        }
        #bb{
            width: 800px;
            height: 70px;
            margin: 30px auto;
            border: 4px solid darkolivegreen;
        }


    </style>

</head>
<body>
<div id="header">
    <img class="logo_img"src="static/img/a.gif" style="margin-left: 50px;margin-top: 40px">
    <c:if test="${empty user}">
        <%@ include file="/page/login_success_menu.jsp" %>
    </c:if>
    <%@ include file="/page/opeanAccount.jsp" %>


</div>
<div>
    <div class="top">
        <div style="margin-top: 30px; margin-left: 20%" id="aa">
            <div style="display: flex" class="container">
                <a href=""><h1 style="margin-right: 60px;margin-left: 60px">我的账户</h1></a>
                <a href="${pageContext.request.contextPath}/transferServlet?action=list1"><h1 style="margin-right: 60px;margin-left: 60px">转账</h1></a>
                <a href="pages/transfer/recharge.jsp"><h1 style="margin-right: 60px;margin-left: 60px">充值</h1></a>
                <a href="pages/transfer/withdrawal.jsp"><h1 style="margin-right: 60px;margin-left: 60px">提现</h1></a>
            </div>
            <div style="display: flex" class="container">
                <a href="${pageContext.request.contextPath}/pages/user/tiedcard.jsp"><h1 style="margin-right: 60px;margin-left: 60px">绑卡</h1></a>
                <a href="${pageContext.request.contextPath}/pages/savemoney/currentToFixed.jsp"><h1 style="margin-right: 60px;margin-left: 60px">活期转定期</h1></a>
                <a href="${pageContext.request.contextPath}/pages/savemoney/fixedToCurrent.jsp"><h1 style="margin-right: 60px;margin-left: 60px">定期转活期</h1></a>
                <a href="${pageContext.request.contextPath}/creditCard?action=credit"><h1 style="margin-right: 60px;margin-left: 60px">信用卡</h1></a>
                <a href="${pageContext.request.contextPath}/loanServlet?action=findAllLoan"><h1 style="margin-right: 60px;margin-left: 60px">贷款</h1></a>
            </div>
        </div>
    </div>
    <div style="display: flex;margin-top: 105px;margin-left: 23%" id="bb">
        <div style="width: 600px;margin-left: 18%">
            <a href=""><h1 style="margin-right: 50px">首页</h1></a>
        </div>
        <div style="width: 600px">
            <a href="${pageContext.request.contextPath}/productServlet?action=findAllProducts"><h1 style="margin-right: 50px">理财</h1></a>
        </div >
        <div style="width: 600px">
            <a href="/personalServlet?action=myHome"><h1 style="margin-right: 50px">我的</h1></a>

        </div>
    </div>

</div>

<%@include file="/page/footer.jsp" %>
</body>
</html>
